package com.zktr.service;

import java.util.List;

import com.zktr.dao.leftmemuDao;
import com.zktr.pojo.leftmemu;
public class LeftmemuService {
	public static void main(String[] args) {
		LeftmemuService lService = new LeftmemuService();
		System.out.println(lService.queryChildShow(1));
		System.out.println(lService.queryManneger());
	}
	public List<leftmemu> queryManneger() {
		leftmemuDao lService = new leftmemuDao();
		return lService.queryMannergerShow();
	}
	public List<leftmemu> queryChildShow(int id) {
		leftmemuDao lService = new leftmemuDao();
		return lService.queryChildShow(id);
	}

}
